#pragma once

#include "point.h"
#include "triangle.h"


namespace BaseGeo {
    struct DetSet {
        double det_xyz;
        double det_xz;
        double det_yz;
        double det_xy;
    };

    class Plane3D {
    private:
        DetSet det_set;
    public:
        Plane3D();
        Plane3D(const Triangle& triangle);

        double QueryZ(const double x, const double y) const;
    };
}